<?php

require_once CORE_PATH . 'libs/date/date.php';

class Users extends ActiveRecord
{

    public function save($values=null)
    {
        if ( ! isset($this->date_creation))
        {
            $this->date_creation = new Date();
        }
        
        return parent::save();
    }

}

?>
